AMQP Ticket Registry

CAS can be enabled with a variety of messaging systems in order to distribute and share ticket data: from simplified use of the AMQP API to a complete infrastructure to receive messages asynchronously.

This registry is very much an extension of the default ticket registry. The difference is that ticket operations applied to the registry are broadcasted using a messaging queue to other listening CAS nodes on the queue. Each node keeps copies of ticket state on its own and only instructs others to keep their copy accurate by broadcasting messages and data associated with each. Each message and ticket registry instance running inside a CAS node in the cluster is tagged with a unique identifier in order to avoid endless looping behavior and recursive needless inbound operations.

The broadcast and the message queue is backed by the the Advanced Message Queuing Protocol (AMQP) protocol. This is a platform-neutral, wire-level protocol for message-oriented middleware. The implementation of this protocol is backed by RabbitMQ. This is a lightweight, reliable, scalable, and portable message broker based on the AMQP protocol. CAS uses RabbitMQ to communicate through the AMQP protocol.

Support is enabled by including the following dependency in the overlay:

1
2
3
4
5
<dependency>
  <groupId>org.apereo.cas</groupId>
  <artifactId>cas-server-support-amqp-ticket-registry</artifactId>
  <version>${cas.version}</version>
</dependency>
1
implementation "org.apereo.cas:cas-server-support-amqp-ticket-registry:${project.'cas.version'}"
1
2
3
4
5
6
7
8
9
dependencyManagement {
  imports {
    mavenBom "org.apereo.cas:cas-server-support-bom:${project.'cas.version'}"
  }
}

dependencies {  
  implementation "org.apereo.cas:cas-server-support-amqp-ticket-registry"
}

CAS Configuration

The following settings and properties are available from the CAS configuration catalog:

The configuration settings listed below are tagged as Required in the CAS configuration metadata. This flag indicates that the presence of the setting may be needed to activate or affect the behavior of the CAS feature and generally should be reviewed, possibly owned and adjusted. If the setting is assigned a default value, you do not need to strictly put the setting in your copy of the configuration, but should review it nonetheless to make sure it matches your deployment expectations.

  • cas.ticket.registry.amqp.crypto.encryption.key=
  • The encryption key. The encryption key by default and unless specified otherwise must be randomly-generated string whose length is defined by the encryption key size setting.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedCryptoProperties.

  • cas.ticket.registry.amqp.crypto.signing.key=
  • The signing key is a JWT whose length is defined by the signing key size setting.

    org.apereo.cas.configuration.model.core.util.SigningJwtCryptoProperties.

    The configuration settings listed below are tagged as Optional in the CAS configuration metadata. This flag indicates that the presence of the setting is not immediately necessary in the end-user CAS configuration, because a default value is assigned or the activation of the feature is not conditionally controlled by the setting value. You should only include this field in your configuration if you need to modify the default value.

  • cas.ticket.registry.amqp.crypto.alg=AES
  • The signing/encryption algorithm to use.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties.

  • cas.ticket.registry.amqp.crypto.enabled=true
  • Whether crypto operations are enabled.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties.

  • cas.ticket.registry.amqp.crypto.encryption.key-size=16
  • Encryption key size.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedCryptoProperties.

  • cas.ticket.registry.amqp.crypto.signing.key-size=512
  • The signing key size.

    org.apereo.cas.configuration.model.core.util.SigningJwtCryptoProperties.

  • cas.ticket.registry.amqp.queue-identifier=
  • Identifier for this CAS server node that tags the sender/receiver in the queue and avoid processing of inbound calls. If left blank, an identifier is generated automatically and kept in memory.

    org.apereo.cas.configuration.model.support.amqp.AMQPTicketRegistryProperties.

    The configuration settings listed below are tagged as Third Party in the CAS configuration metadata. This flag indicates that the configuration setting is not controlled, owned or managed by the CAS ecosystem, and affects functionality that is offered by a third-party library, such as Spring Boot or Spring Cloud to CAS. For additional info, you might have to visit the third-party source to find more details.

  • spring.rabbitmq.address-shuffle-mode=none
  • Mode used to shuffle configured addresses.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.addresses=
  • Comma-separated list of addresses to which the client should connect. When set, the host and port are ignored.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.cache.channel.checkout-timeout=
  • Duration to wait to obtain a channel if the cache size has been reached. If 0, always create a new channel.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Cache$Channel.

  • spring.rabbitmq.cache.channel.size=
  • Number of channels to retain in the cache. When "check-timeout" > 0, max channels per connection.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Cache$Channel.

  • spring.rabbitmq.cache.connection.mode=channel
  • Connection factory cache mode.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Cache$Connection.

  • spring.rabbitmq.cache.connection.size=
  • Number of connections to cache. Only applies when mode is CONNECTION.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Cache$Connection.

  • spring.rabbitmq.channel-rpc-timeout=10m
  • Continuation timeout for RPC calls in channels. Set it to zero to wait forever.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.connection-timeout=
  • Connection timeout. Set it to zero to wait forever.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.dynamic=true
  • Whether to create an AmqpAdmin bean.

  • spring.rabbitmq.host=localhost
  • RabbitMQ host. Ignored if an address is set.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.listener.direct.acknowledge-mode=
  • Acknowledge mode of container.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.auto-startup=true
  • Whether to start the container automatically on startup.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.consumers-per-queue=
  • Number of consumers per queue.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.de-batching-enabled=true
  • Whether the container should present batched messages as discrete messages or call the listener with the batch.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.default-requeue-rejected=
  • Whether rejected deliveries are re-queued by default.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.idle-event-interval=
  • How often idle container events should be published.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.missing-queues-fatal=false
  • Whether to fail if the queues declared by the container are not available on the broker.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.prefetch=
  • Maximum number of unacknowledged messages that can be outstanding at each consumer.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$DirectContainer.

  • spring.rabbitmq.listener.direct.retry.enabled=false
  • Whether publishing retries are enabled.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.direct.retry.initial-interval=1000ms
  • Duration between the first and second attempt to deliver a message.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.direct.retry.max-attempts=3
  • Maximum number of attempts to deliver a message.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.direct.retry.max-interval=10000ms
  • Maximum duration between attempts.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.direct.retry.multiplier=1
  • Multiplier to apply to the previous retry interval.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.direct.retry.stateless=true
  • Whether retries are stateless or stateful.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.simple.acknowledge-mode=
  • Acknowledge mode of container.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.auto-startup=true
  • Whether to start the container automatically on startup.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.batch-size=
  • Batch size, expressed as the number of physical messages, to be used by the container.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.concurrency=
  • Minimum number of listener invoker threads.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.consumer-batch-enabled=false
  • Whether the container creates a batch of messages based on the 'receive-timeout' and 'batch-size'. Coerces 'de-batching-enabled' to true to include the contents of a producer created batch in the batch as discrete records.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.de-batching-enabled=true
  • Whether the container should present batched messages as discrete messages or call the listener with the batch.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.default-requeue-rejected=
  • Whether rejected deliveries are re-queued by default.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.idle-event-interval=
  • How often idle container events should be published.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.max-concurrency=
  • Maximum number of listener invoker threads.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.missing-queues-fatal=true
  • Whether to fail if the queues declared by the container are not available on the broker and/or whether to stop the container if one or more queues are deleted at runtime.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.prefetch=
  • Maximum number of unacknowledged messages that can be outstanding at each consumer.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$SimpleContainer.

  • spring.rabbitmq.listener.simple.retry.enabled=false
  • Whether publishing retries are enabled.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.simple.retry.initial-interval=1000ms
  • Duration between the first and second attempt to deliver a message.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.simple.retry.max-attempts=3
  • Maximum number of attempts to deliver a message.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.simple.retry.max-interval=10000ms
  • Maximum duration between attempts.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.simple.retry.multiplier=1
  • Multiplier to apply to the previous retry interval.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.simple.retry.stateless=true
  • Whether retries are stateless or stateful.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$ListenerRetry.

  • spring.rabbitmq.listener.simple.transaction-size=
  • Deprecation status is ERROR without a replacement setting.

  • spring.rabbitmq.listener.stream.auto-startup=true
  • Whether to start the container automatically on startup.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$StreamContainer.

  • spring.rabbitmq.listener.stream.native-listener=false
  • Whether the container will support listeners that consume native stream messages instead of Spring AMQP messages.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$StreamContainer.

  • spring.rabbitmq.listener.type=simple
  • Listener container type.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Listener.

  • spring.rabbitmq.password=guest
  • Login to authenticate against the broker.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.port=
  • RabbitMQ port. Ignored if an address is set. Default to 5672, or 5671 if SSL is enabled.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.publisher-confirm-type=
  • Type of publisher confirms to use.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.publisher-confirms=
  • Deprecation status is ERROR without a replacement setting.

  • spring.rabbitmq.publisher-returns=false
  • Whether to enable publisher returns.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.requested-channel-max=2047
  • Number of channels per connection requested by the client. Use 0 for unlimited.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.requested-heartbeat=
  • Requested heartbeat timeout; zero for none. If a duration suffix is not specified, seconds will be used.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.ssl.algorithm=
  • SSL algorithm to use. By default, configured by the Rabbit client library.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.enabled=
  • Whether to enable SSL support. Determined automatically if an address is provided with the protocol (amqp:// vs. amqps://).

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.key-store=
  • Path to the key store that holds the SSL certificate.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.key-store-algorithm=SunX509
  • Key store algorithm.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.key-store-password=
  • Password used to access the key store.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.key-store-type=PKCS12
  • Key store type.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.trust-store=
  • Trust store that holds SSL certificates.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.trust-store-algorithm=SunX509
  • Trust store algorithm.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.trust-store-password=
  • Password used to access the trust store.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.trust-store-type=JKS
  • Trust store type.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.validate-server-certificate=true
  • Whether to enable server side certificate validation.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.ssl.verify-hostname=true
  • Whether to enable hostname verification.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Ssl.

  • spring.rabbitmq.stream.host=localhost
  • Host of a RabbitMQ instance with the Stream plugin enabled.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Stream.

  • spring.rabbitmq.stream.name=
  • Name of the stream.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Stream.

  • spring.rabbitmq.stream.password=
  • Login password to authenticate to the broker. When not set spring.rabbitmq.password is used.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Stream.

  • spring.rabbitmq.stream.port=
  • Stream port of a RabbitMQ instance with the Stream plugin enabled.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Stream.

  • spring.rabbitmq.stream.username=
  • Login user to authenticate to the broker. When not set, spring.rabbitmq.username is used.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Stream.

  • spring.rabbitmq.template.default-receive-queue=
  • Name of the default queue to receive messages from when none is specified explicitly.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template.

  • spring.rabbitmq.template.exchange=
  • Name of the default exchange to use for send operations.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template.

  • spring.rabbitmq.template.mandatory=
  • Whether to enable mandatory messages.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template.

  • spring.rabbitmq.template.queue=
  • Deprecation status is ERROR with a replacement setting: spring.rabbitmq.template.default-receive-queue.

  • spring.rabbitmq.template.receive-timeout=
  • Timeout for receive() operations.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template.

  • spring.rabbitmq.template.reply-timeout=
  • Timeout for sendAndReceive() operations.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template.

  • spring.rabbitmq.template.retry.enabled=false
  • Whether publishing retries are enabled.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry.

  • spring.rabbitmq.template.retry.initial-interval=1000ms
  • Duration between the first and second attempt to deliver a message.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry.

  • spring.rabbitmq.template.retry.max-attempts=3
  • Maximum number of attempts to deliver a message.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry.

  • spring.rabbitmq.template.retry.max-interval=10000ms
  • Maximum duration between attempts.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry.

  • spring.rabbitmq.template.retry.multiplier=1
  • Multiplier to apply to the previous retry interval.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Retry.

  • spring.rabbitmq.template.routing-key=
  • Value of a default routing key to use for send operations.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties$Template.

  • spring.rabbitmq.username=guest
  • Login user to authenticate to the broker.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • spring.rabbitmq.virtual-host=
  • Virtual host to use when connecting to the broker.

    org.springframework.boot.autoconfigure.amqp.RabbitProperties.

  • cas.ticket.registry.amqp.crypto.encryption.key=
  • The encryption key. The encryption key by default and unless specified otherwise must be randomly-generated string whose length is defined by the encryption key size setting.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedCryptoProperties.

  • cas.ticket.registry.amqp.crypto.signing.key=
  • The signing key is a JWT whose length is defined by the signing key size setting.

    org.apereo.cas.configuration.model.core.util.SigningJwtCryptoProperties.

  • cas.ticket.registry.amqp.crypto.alg=AES
  • The signing/encryption algorithm to use.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties.

  • cas.ticket.registry.amqp.crypto.enabled=true
  • Whether crypto operations are enabled.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedSigningJwtCryptographyProperties.

  • cas.ticket.registry.amqp.crypto.encryption.key-size=16
  • Encryption key size.

    org.apereo.cas.configuration.model.core.util.EncryptionRandomizedCryptoProperties.

  • cas.ticket.registry.amqp.crypto.signing.key-size=512
  • The signing key size.

    org.apereo.cas.configuration.model.core.util.SigningJwtCryptoProperties.

    This CAS feature is able to accept signing and encryption crypto keys. In most scenarios if keys are not provided, CAS will auto-generate them. The following instructions apply if you wish to manually and beforehand create the signing and encryption keys.

    Note that if you are asked to create a JWK of a certain size for the key, you are to use the following set of commands to generate the token:

    1
    2
    
    wget https://raw.githubusercontent.com/apereo/cas/master/etc/jwk-gen.jar
    java -jar jwk-gen.jar -t oct -s [size]
    

    The outcome would be similar to:

    1
    2
    3
    4
    5
    
    {
      "kty": "oct",
      "kid": "...",
      "k": "..."
    }
    

    The generated value for k needs to be assigned to the relevant CAS settings. Note that keys generated via the above algorithm are processed by CAS using the Advanced Encryption Standard (AES) algorithm which is a specification for the encryption of electronic data established by the U.S. National Institute of Standards and Technology.


    Configuration Metadata

    The collection of configuration properties listed in this section are automatically generated from the CAS source and components that contain the actual field definitions, types, descriptions, modules, etc. This metadata may not always be 100% accurate, or could be lacking details and sufficient explanations.

    Be Selective

    This section is meant as a guide only. Do NOT copy/paste the entire collection of settings into your CAS configuration; rather pick only the properties that you need. Do NOT enable settings unless you are certain of their purpose and do NOT copy settings into your configuration only to keep them as reference. All these ideas lead to upgrade headaches, maintenance nightmares and premature aging.

    YAGNI

    Note that for nearly ALL use cases, declaring and configuring properties listed here is sufficient. You should NOT have to explicitly massage a CAS XML/Java/etc configuration file to design an authentication handler, create attribute release policies, etc. CAS at runtime will auto-configure all required changes for you. If you are unsure about the meaning of a given CAS setting, do NOT turn it on without hesitation. Review the codebase or better yet, ask questions to clarify the intended behavior.

    Naming Convention

    Property names can be specified in very relaxed terms. For instance cas.someProperty, cas.some-property, cas.some_property are all valid names. While all forms are accepted by CAS, there are certain components (in CAS and other frameworks used) whose activation at runtime is conditional on a property value, where this property is required to have been specified in CAS configuration using kebab case. This is both true for properties that are owned by CAS as well as those that might be presented to the system via an external library or framework such as Spring Boot, etc.

    When possible, properties should be stored in lower-case kebab format, such as cas.property-name=value. The only possible exception to this rule is when naming actuator endpoints; The name of the actuator endpoints (i.e. ssoSessions) MUST remain in camelCase mode.

    Settings and properties that are controlled by the CAS platform directly always begin with the prefix cas. All other settings are controlled and provided to CAS via other underlying frameworks and may have their own schemas and syntax. BE CAREFUL with the distinction. Unrecognized properties are rejected by CAS and/or frameworks upon which CAS depends. This means if you somehow misspell a property definition or fail to adhere to the dot-notation syntax and such, your setting is entirely refused by CAS and likely the feature it controls will never be activated in the way you intend.

    Validation

    Configuration properties are automatically validated on CAS startup to report issues with configuration binding, specially if defined CAS settings cannot be recognized or validated by the configuration schema. The validation process is on by default and can be skipped on startup using a special system property SKIP_CONFIG_VALIDATION that should be set to true. Additional validation processes are also handled via Configuration Metadata and property migrations applied automatically on startup by Spring Boot and family.

    Indexed Settings

    CAS settings able to accept multiple values are typically documented with an index, such as cas.some.setting[0]=value. The index [0] is meant to be incremented by the adopter to allow for distinct multiple configuration blocks.

    Actuator Endpoints

    The following endpoints are provided by CAS:

    Reports back general health status of the system, produced by various monitors.

    HealthComponent

    HealthEndpoint.health()

    org.springframework.boot.actuate.health.HealthEndpoint

    Reports back general health status of the system, produced by various monitors.

    HealthComponent

    HealthEndpoint.healthForPath(java.lang.String…)

    org.springframework.boot.actuate.health.HealthEndpoint


    Troubleshooting

    To enable additional logging, configure the log4j configuration file to add the following levels:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    
    ...
    <Logger name="org.springframework.amqp" level="debug" additivity="false">
        <AppenderRef ref="console"/>
        <AppenderRef ref="file"/>
    </Logger>
    
    <Logger name="com.rabbitmq" level="debug" additivity="false">
        <AppenderRef ref="console"/>
        <AppenderRef ref="file"/>
    </Logger>
    ...